package org.spbsu.apco.common.task.core;

import org.spbsu.apco.common.data.core.EmptyData;

import java.util.List;

/**
 * User: solozobov
 * Date: 13.11.12
 */

public class WaitTask extends BaseTask<Integer, EmptyData> {
    public static EmptyData emptyData = new EmptyData();

    @Override
    public EmptyData execute(final List<Integer> inputData) throws Exception {
        Thread.sleep(inputData.get(0));
        return emptyData;
    }
}
